package system.service.sys;

import framework.base.BaseService;
import framework.vo.ResultList;
import system.entity.SysTaskJob;
import system.task.vo.SysTaskRunning;

import java.util.Date;
import java.util.List;

public interface SysTaskJobService extends BaseService<SysTaskJob, Long> {
    int updateByName(SysTaskJob param);

    int updateBody(SysTaskJob param);

    SysTaskRunning loadInfo(Long id);

    ResultList<SysTaskRunning> loadRunning(SysTaskJob param, Integer pageIndex, Integer pageSize);

    List<Date> loadTriggerTimes(String name, int size, Date afterTime);
}